{% extends "sil18VitrineBundle:Default:administration.html.twig" %}

{% block contentAdmin %}
    <h3>Article</h3>

    <table class="record_properties">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Libelle</th>
                <td>{{ entity.libelle }}</td>
            </tr>
            <tr>
                <th>Prix</th>
                <td>{{ entity.prix }}</td>
            </tr>
            <tr>
                <th>Stock</th>
                <td>{{ entity.stock }}</td>
            </tr>
            <tr>
                <th>Urlimage</th>
                <td>{{ entity.urlImage }}</td>
            </tr>
        </tbody>
    </table>

    {{ form(delete_form) }}
    <p>
        <a href="{{ path('article_edit', { 'id': entity.id }) }}">
            <span class="glyphicon glyphicon-cog" ></span> Editer
        </a>
    </p>
    <p>
        <a href="{{ path('article') }}">
            <span class="glyphicon glyphicon-share-alt" ></span> Retour à la liste
        </a>
    </p>
{% endblock %}
